-<template>
  <view>
    <view class="content">
      <view class="addressee">
        <view class="list">
          <view class="list-item" @click="Address">
            <view class="list-item__container container--right">
              <view class="list-item__content">
                <view class="list-item__content-title u-line-1 addressee-title">收件信息：</view>
                <view class="addressee-note">
                  <text class="address">广东省</text>
                  <text class="address">汕头市</text>
                  <text class="address">龙湖区</text>
                  <text class="address">珠池街道</text>
                </view>
                <view class="addressee-note">生生花园几栋几零几</view>
                <view class="addressee-note">
                  <text class="address">郑</text>
                  <text class="address">13566677789</text>
                </view>
              </view>
            </view>
            <view class=""><u-icon name="arrow-right" color="#999" size="28"></u-icon></view>
          </view>
        </view>
      </view>
      <view class="list">
        <view class="list-item">
          <view class="list-item__container container--right">
            <view class="list-item__header">
              <view class="list-item__icon">
                <view class="list-item__icon-img">
                  <image src="/static/logo.png" mode="scaleToFill" class="img"></image>
                </view>
              </view>
            </view>
            <view class="list-item__content">
              <text class="list-item__content-title u-line-1">活动商品软件服务\信息技术开发</text>
              <text class="list-item__content-note">已选择:规格1/规格3</text>
              <text class="list-item__content-note">数量：2</text>
              <text class="list-item__content-note">价格：98.00*2</text>
            </view>
          </view>
        </view>
      </view>
      <u-cell-group>
        <u-cell-item title="订单运费" :title-style="titleStyle" :arrow="false" hover-class="none">
          <view class="value">免费/￥6.00</view>
        </u-cell-item>
        <u-cell-item title="订单留言" :title-style="titleStyle" hover-class="none" @click="remarkShow = true">
          <view class="value">{{value}}</view>
        </u-cell-item>
      </u-cell-group>
    </view>
    <view class="price">
      <text style="font-size: 24rpx;">总价:</text>
      <text class="u-m-l-32" style="font-size: 32rpx;">196.00</text>
    </view>
    <view class="s-btn s-btn--primary s-size-default" @click="confirm">微信支付</view>
    <u-modal v-model="remarkShow" @confirm="confirmRemark" :show-cancel-button="true">
      <view class="slot-content">
        <u-input v-model="remorkValue"  placeholder="订单留言"/>
      </view>
    </u-modal>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        titleStyle:{color:'#3b4144'},
        remarkShow:false,
        remorkValue:'',
        value:'选填',
      }
    },
    mounted() {
    
    },
    onLoad(options) {
      
    },
    methods: {
      confirm(){
        
      },
      confirmRemark(){
        this.value = this.remorkValue
      },
      Address(){
        uni.navigateTo({
          url: '/pages/Mall/Address/Address'
        });
      },
    }
  }
</script>

<style lang="scss" scoped>
  .img {
    width: 100%;
    height: 100%;
  }
  .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    .list{
      background-color: #fff;
      .list-item{
        display: flex;
        font-size: 32rpx;
        position: relative;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        cursor: pointer;
        padding: 48rpx 32rpx;
        .list-item__container{
          position: relative;
          display: flex;
          flex-direction: row;
          flex: 1;
          overflow: hidden;
          .list-item__header {
            display: flex;
            flex-direction: row;
            align-items: center;
            .list-item__icon{
              margin-right: 18rpx;
              flex-direction: row;
              justify-content: center;
              align-items: center;
              .list-item__icon-img{
                display: block;
                height: 128rpx;
                width: 128rpx;
                margin-right: 20rpx;
                border-radius: 16rpx;
                overflow: hidden;
              }
            }
          }
          .list-item__content{
            display: flex;
            padding-right: 16rpx;
            flex: 1;
            color: #3b4144;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            .list-item__content-title{
              font-size: 28rpx;
              color: #3b4144;
              overflow: hidden;
            }
            .list-item__content-note{
              margin-top: 6rpx;
              font-size: 24rpx;
              overflow: hidden;
            }
          }
          .list-item__content--center{
            justify-content: center;
          }
        }
      } 
    }
    .value{
      color: #3b4144;
    }
    .addressee{
      .addressee-title{
      }
      .address{
        font-size: 24rpx;
        margin-right: 24rpx;
      }
      .addressee-note{
        margin-top: 16rpx;
      }
    }
    .addressee:after,.addressee:before {
    	content: '';
    	display: block;
    	width: initial;
    	height: 4rpx;
    	background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);
    	background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 15%, transparent 0, transparent 25%, #1989fa 0, #1989fa 40%, transparent 0, transparent 50%);
    	background-size: 80px;
    	border: none;
    	-webkit-transform: initial;
    	transform: initial;
    }
  }
  .price{
    width: 100%;
    height: 100rpx;
    position: fixed;
    bottom: 100rpx;
    background-color: #fff;
    padding: 32rpx;
    text{
    }
  }
  
</style>